home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
comm
/
bbs
/
maxsbbsus.lha
/
MAX154
/
TBM
/
FixConfigs
/
ReadMe
Wrap
Text File
|
1995-04-25
|
3KB
|
56 lines
Okay, first off, I tried three or four different patch-making programs, and
Fix 1.1 was the simplest and best. It has one little hitch which I got
around; it looks for the file size to be as specified in the FIXFILE, but our
config file is always changing size, rats.
What I did was have little DU 1.0 list the size of the config file,
outputting it to a textfile. I tried a bunch of Listers, and DU 1.0 was the
only one that just spit out a single line with (almost) just the file size on
it. It also has the file name, but since it's always in the same place in
the outputted file, I first run Fix to take out the name. What I end up with
is a single-line textfile with the current config's size on it. That's the
"middle part" of the FIXFILE. I then Join the three parts, and that's the
FIXFILE for Fix to run on config2. What do you mean, confusing?
It then joins config3's parts, and fixes config3. This wouldn't be as
confusing as it sounds if Fix didn't require the current file size in the
FIXFILE. It also expects a certain character to be in the place it's going
to change, but that part's okay, those values stay the same. Since you're
gong to rename your config files something else, you'll have to change the
"fixfile" script.
I won't elaborate on the actual step-by-step hex changes, it would take
forever and besides, this was actually kind of fun, so I wouldn't want to
deprive you of your chance to be a real, live programmer! :)
You'll want FCMP, enclosed, to show you the dif between configs (use
Verbose mode), and I tossed in Fix 1.1 and DU 1.0, just in case you don't
have anything better.
My scripts won't work for you, as you'll have different modem settings, but
you can use them as guidelines. You may need two different hex editors, as
there's two different ways of displaying the hex codes and locations. I used
the ever-faithful NewZap for some stuff, FileMaster for the rest. DekSid is
also pretty nice. Don't get excited when you see FileMaster has a built-in
patch-making program; won't work for our application.
You should certainly check around for a better patch-maker; ideally you
want one that just writes the new locations, and doesn't care about file size
or what was there before, like Fix does. Oh, also, a few of the patch-makers
I tried made these BIG "patches", but that's not what we're looking for. We
just want something that will go in, zap it, and get out.
P.S. If this seems like it's too much for you, but you've got a handle on
how FakeKey and MovePointer do their thing, you can let them do the entire
routine for you. Just whip up a scriptfile having them pull down the Modem
Config Menu, make the changes, save things, go around to the next node,
change and save those modem configs, etc, just like you'd do it by hand.
That's what I was doing before I whipped up this little gem. Start it from
node 1 with Switcher, or from the WB with a "Wait 4" command, so you can zip
around to Node 1 and click on the screen to activate it. Then FakeKey and
MovePointer muscle in, and the show's on! My script for it is "Update.scp3".